//
//  ArrangeCell.m
//  We_Travel
//
//  Created by lanou3g on 15/12/15.
//  Copyright © 2015年 lanou3g. All rights reserved.
//

#import "ArrangeCell.h"
#import "UIImageView+WebCache.h"

@implementation ArrangeCell

- (void)setModel:(SiteRecomendModel *)model{
    if (!_model) {
        _model = nil;
    }
    _model = model;
    [_pictureImage sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@",model.cover]]];
    _titleLabel.text = model.name;
    _introduceLabel.text = [NSString stringWithFormat:@"耗时:%ld",model.time_consuming_max];
    _detailLabel.text = model.recommended_reason;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
